#!/bin/bash
. /etc/profile

$SPARK_HOME/bin/spark-submit --master spark://10.82.27.102:7077  \
--class com.demo.TestElasticsearch  \
--num-executors  4  \
--driver-memory 8G \
--driver-cores 2 \
--executor-memory 8G \
--executor-cores 2 \
--jars /home/admin/work/zhangbn/streaming/lib/elasticsearch-hadoop-hive-5.2.2.jar \
/home/admin/work/zhangbn/streaming/sparkDemo-4-2.jar 100 200 vehicle_parquet_view